//
// Decompiled by Jadx - 310ms
//
package fi;

import java.io.Serializable;
import java.util.List;

public final class c implements Serializable {
    private int gravity;
    private boolean isGroup;
    private List<a> list;
    private String title;

    public c() {
    }

    public c(String str, boolean z, List<a> list) {
        this.title = str;
        this.isGroup = z;
        this.list = list;
        this.gravity = 8388611;
    }

    public boolean canEqual(Object obj) {
        return obj instanceof c;
    }

    public boolean equals(Object obj) {
        if (obj == this) {
            return true;
        }
        if (!(obj instanceof c)) {
            return false;
        }
        c cVar = (c) obj;
        if (!cVar.canEqual(this) || isGroup() != cVar.isGroup() || getGravity() != cVar.getGravity()) {
            return false;
        }
        String title = getTitle();
        String title2 = cVar.getTitle();
        if (title != null ? !title.equals(title2) : title2 != null) {
            return false;
        }
        List<a> list = getList();
        List<a> list2 = cVar.getList();
        return list != null ? list.equals(list2) : list2 == null;
    }

    public int getGravity() {
        return this.gravity;
    }

    public List<a> getList() {
        return this.list;
    }

    public String getTitle() {
        return this.title;
    }

    public int hashCode() {
        int gravity = getGravity() + (((isGroup() ? 79 : 97) + 59) * 59);
        String title = getTitle();
        int hashCode = (gravity * 59) + (title == null ? 43 : title.hashCode());
        List<a> list = getList();
        return (hashCode * 59) + (list != null ? list.hashCode() : 43);
    }

    public boolean isGroup() {
        return this.isGroup;
    }

    public void setGravity(int i) {
        this.gravity = i;
    }

    public void setGroup(boolean z) {
        this.isGroup = z;
    }

    public void setList(List<a> list) {
        this.list = list;
    }

    public void setTitle(String str) {
        this.title = str;
    }

    public String toString() {
        return "DialogListJson(title=" + getTitle() + ", isGroup=" + isGroup() + ", gravity=" + getGravity() + ", list=" + getList() + ")";
    }

    public static class a implements Serializable {
        private String desc;
        private boolean isArrow;
        private boolean isHideArrow;
        private boolean isSwitch;
        private String key;
        private String rightText;
        private boolean selected;
        private String title;

        public boolean canEqual(Object obj) {
            return obj instanceof a;
        }

        public boolean equals(Object obj) {
            if (obj == this) {
                return true;
            }
            if (!(obj instanceof a)) {
                return false;
            }
            a c_a = (a) obj;
            if (!c_a.canEqual(this) || isSwitch() != c_a.isSwitch() || isArrow() != c_a.isArrow() || isSelected() != c_a.isSelected() || isHideArrow() != c_a.isHideArrow()) {
                return false;
            }
            String title = getTitle();
            String title2 = c_a.getTitle();
            if (title != null ? !title.equals(title2) : title2 != null) {
                return false;
            }
            String desc = getDesc();
            String desc2 = c_a.getDesc();
            if (desc != null ? !desc.equals(desc2) : desc2 != null) {
                return false;
            }
            String key = getKey();
            String key2 = c_a.getKey();
            if (key != null ? !key.equals(key2) : key2 != null) {
                return false;
            }
            String rightText = getRightText();
            String rightText2 = c_a.getRightText();
            return rightText != null ? rightText.equals(rightText2) : rightText2 == null;
        }

        public String getDesc() {
            return this.desc;
        }

        public String getKey() {
            return this.key;
        }

        public String getRightText() {
            return this.rightText;
        }

        public String getTitle() {
            return this.title;
        }

        public int hashCode() {
            int i = (((((((isSwitch() ? 79 : 97) + 59) * 59) + (isArrow() ? 79 : 97)) * 59) + (isSelected() ? 79 : 97)) * 59) + (isHideArrow() ? 79 : 97);
            String title = getTitle();
            int hashCode = (i * 59) + (title == null ? 43 : title.hashCode());
            String desc = getDesc();
            int hashCode2 = (hashCode * 59) + (desc == null ? 43 : desc.hashCode());
            String key = getKey();
            int hashCode3 = (hashCode2 * 59) + (key == null ? 43 : key.hashCode());
            String rightText = getRightText();
            return (hashCode3 * 59) + (rightText != null ? rightText.hashCode() : 43);
        }

        public boolean isArrow() {
            return this.isArrow;
        }

        public boolean isHideArrow() {
            return this.isHideArrow;
        }

        public boolean isSelected() {
            return this.selected;
        }

        public boolean isSwitch() {
            return this.isSwitch;
        }

        public void setArrow(boolean z) {
            this.isArrow = z;
        }

        public void setDesc(String str) {
            this.desc = str;
        }

        public void setHideArrow(boolean z) {
            this.isHideArrow = z;
        }

        public void setKey(String str) {
            this.key = str;
        }

        public void setRightText(String str) {
            this.rightText = str;
        }

        public void setSelected(boolean z) {
            this.selected = z;
        }

        public void setSwitch(boolean z) {
            this.isSwitch = z;
        }

        public void setTitle(String str) {
            this.title = str;
        }

        public String toString() {
            return "DialogListJson.Item(title=" + getTitle() + ", desc=" + getDesc() + ", key=" + getKey() + ", isSwitch=" + isSwitch() + ", rightText=" + getRightText() + ", isArrow=" + isArrow() + ", selected=" + isSelected() + ", isHideArrow=" + isHideArrow() + ")";
        }
    }

}
